package com.drug.wms.domain;

import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 商品调货单对象 bus_transfer_goods
 *
 * @author ruoyi
 * @date 2021-12-01
 */
public class BusTransferGoods extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;

    /**
     * 销售单id
     */
    @Excel(name = "销售单id")
    private String salesSlipId;

    /**
     * 单据名称
     */
    @Excel(name = "单据名称")
    private String salesSlipName;

    /**
     * 单据编号
     */
    @Excel(name = "单据编号")
    private String saleNo;

    /**
     * 调货部门id
     */
    @Excel(name = "调货部门id")
    private String transferDeptId;

    /**
     * 调货部门名称
     */
    @Excel(name = "调货部门名称")
    private String transferDeptName;

    /**
     * 录入日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryDate;

    /**
     * 制单人
     */
    @Excel(name = "制单人")
    private Long entryUserId;

    /**
     * 制单人部门id
     */
    @Excel(name = "制单人部门id")
    private Long entryDeptId;

    /**
     * 送货方式
     */
    @Excel(name = "送货方式")
    private String deliveryType;

    /**
     * 收货仓库
     */
    @Excel(name = "收货仓库")
    private String warehouseNo;


    /**
     * 单据状态（草稿，待审核，通过，驳回，冲红）
     */
    @Excel(name = "单据状态", readConverterExp = "草=稿，待审核，通过，驳回，冲红")
    private String inputStatus;

    /**
     * 审核原因
     */
    @Excel(name = "审核原因")
    private String checkedReason;

    /**
     * 审核人
     */
    @Excel(name = "审核人")
    private Long checkedUserId;

    /**
     * 审核部门id
     */
    @Excel(name = "审核部门id")
    private Long checkedDeptId;

    /**
     * 数据状态
     */
    @Excel(name = "数据状态")
    private String validityCode;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;

    public String getWarehouseNo() {
        return warehouseNo;
    }

    public void setWarehouseNo(String warehouseNo) {
        this.warehouseNo = warehouseNo;
    }

    public String getSalesSlipName() {
        return salesSlipName;
    }

    public void setSalesSlipName(String salesSlipName) {
        this.salesSlipName = salesSlipName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setSalesSlipId(String salesSlipId) {
        this.salesSlipId = salesSlipId;
    }

    public String getSalesSlipId() {
        return salesSlipId;
    }

    public void setSaleNo(String saleNo) {
        this.saleNo = saleNo;
    }

    public String getSaleNo() {
        return saleNo;
    }

    public void setEntryDate(Date entryDate) {
        this.entryDate = entryDate;
    }

    public Date getEntryDate() {
        return entryDate;
    }

    public void setEntryUserId(Long entryUserId) {
        this.entryUserId = entryUserId;
    }

    public Long getEntryUserId() {
        return entryUserId;
    }

    public void setEntryDeptId(Long entryDeptId) {
        this.entryDeptId = entryDeptId;
    }

    public Long getEntryDeptId() {
        return entryDeptId;
    }

    public void setDeliveryType(String deliveryType) {
        this.deliveryType = deliveryType;
    }

    public String getDeliveryType() {
        return deliveryType;
    }

    public void setInputStatus(String inputStatus) {
        this.inputStatus = inputStatus;
    }

    public String getInputStatus() {
        return inputStatus;
    }

    public void setCheckedReason(String checkedReason) {
        this.checkedReason = checkedReason;
    }

    public String getCheckedReason() {
        return checkedReason;
    }

    public void setCheckedUserId(Long checkedUserId) {
        this.checkedUserId = checkedUserId;
    }

    public Long getCheckedUserId() {
        return checkedUserId;
    }

    public void setCheckedDeptId(Long checkedDeptId) {
        this.checkedDeptId = checkedDeptId;
    }

    public Long getCheckedDeptId() {
        return checkedDeptId;
    }

    public void setValidityCode(String validityCode) {
        this.validityCode = validityCode;
    }

    public String getValidityCode() {
        return validityCode;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getTransferDeptId() {
        return transferDeptId;
    }

    public void setTransferDeptId(String transferDeptId) {
        this.transferDeptId = transferDeptId;
    }

    public String getTransferDeptName() {
        return transferDeptName;
    }

    public void setTransferDeptName(String transferDeptName) {
        this.transferDeptName = transferDeptName;
    }

    @Override
    public String toString() {
        return "BusTransferGoods{" +
                "id='" + id + '\'' +
                ", salesSlipId='" + salesSlipId + '\'' +
                ", saleNo='" + saleNo + '\'' +
                ", transferDeptId='" + transferDeptId + '\'' +
                ", transferDeptName='" + transferDeptName + '\'' +
                ", entryDate=" + entryDate +
                ", entryUserId=" + entryUserId +
                ", entryDeptId=" + entryDeptId +
                ", deliveryType='" + deliveryType + '\'' +
                ", inputStatus='" + inputStatus + '\'' +
                ", checkedReason='" + checkedReason + '\'' +
                ", checkedUserId=" + checkedUserId +
                ", checkedDeptId=" + checkedDeptId +
                ", validityCode='" + validityCode + '\'' +
                ", deptId=" + deptId +
                '}';
    }
}
